#-------------------------------------------------
#
# Project created by QtCreator 2013-10-21T20:04:01
#
#-------------------------------------------------

QT       += testlib

QT       -= gui

TARGET = tst_showfileparser_test
CONFIG   += console
CONFIG   -= app_bundle

TEMPLATE = app

DEFINES += SRCDIR=\\\"$$PWD/\\\"
DEFINES += PROJECT_PATH=\\\"$$PWD/\\\"

DEFINES += UNIT_TEST
DEFINES += QT_FORCE_ASSERTS
#CONFIG += CodeCoverage

QMAKE_CXXFLAGS += /FC

CodeCoverage {
 COVERAGE_OPTIONS =  --cs-count --cs-full-instrumentation
 COVERAGE_OPTIONS += --cs-qt4
 COVERAGE_OPTIONS += --cs-output=Show.exe
 COVERAGE_OPTIONS += --cs-exclude-file-regex=moc_.*
 COVERAGE_OPTIONS += --cs-exclude-file-regex=test_.*
 COVERAGE_OPTIONS += --cs-exclude-file-regex=qrc_.*
 COVERAGE_OPTIONS += --cs-exclude-file-regex=main\.cpp
 COVERAGE_OPTIONS += --cs-exclude-file-regex=Mock.*
 COVERAGE_OPTIONS += --cs-exclude-file-regex=mock.*

 QMAKE_CXXFLAGS += $$COVERAGE_OPTIONS
 QMAKE_CCFLAGS  += $$COVERAGE_OPTIONS
 QMAKE_LFLAGS   += $$COVERAGE_OPTIONS

 QMAKE_CC=cs$$QMAKE_CC
 QMAKE_LINK=cs$$QMAKE_LINK
 QMAKE_CXX=cs$$QMAKE_CXX
}

INCLUDEPATH += ShowFileParser \
               ShowFileParser/test \
               ShowLoader \
               ShowManager \
               ShowFormatter \
               ../Playlist/MediaModel \
               ../LightSet/LightTransition \
               ../../src/show \
               ../../src/show/GUI \
               ../../src/lightScene \
               ../../src/playlist \
               ../../src/sequence \
               ../../src/script \
               ../../src/viewer \
               ../../src/application \
               ../../resources

SOURCES += \
    ShowFileParser/showfileparser_test.cpp \
    ../../src/show/showfileparser.cpp \
    ../../src/lightScene/lightpresetdata.cpp \
    main.cpp \
    ShowLoader/ShowLoader_Test.cpp \
    ShowLoader/MockShowGuiInterface.cpp \
    ShowLoader/MockScriptEngine.cpp \
    ../Playlist/playlistAutomation/MockMediaPlugin.cpp \
    ../../src/show/showloader.cpp \
    ../../src/playlist/MediaListModel.cpp \
    ../../src/lightScene/LightPresetModel.cpp \
    ../../src/show/ShowWriter.cpp \
    ../../src/show/ShowFileFormatter.cpp \
    ../../src/show/HtmlOptimizer.cpp \
    ../../src/lightScene/LightPresetFactory.cpp \
    ShowLoader/MockApplicationSettings.cpp \
    ../Playlist/MediaModel/MockMediaSourceFactory.cpp \
    ../Playlist/MediaModel/MockMediaSource.cpp \
    ShowManager/test_ShowManager.cpp \
    ../../src/show/ShowManager.cpp \
    ShowManager/ShowFactoryForTest.cpp \
    ../../src/show/ShowFileFactory.cpp \
    ShowManager/MockShowWriter.cpp \
    ShowFormatter/test_ShowFormatter.cpp \
    ../../src/sequence/SequenceModel.cpp \
    ../../src/sequence/sequenceitem.cpp


HEADERS += \
    ShowFileParser/showfileparser_test.h \
    ../../src/show/showfileparser.h \
    ../../src/lightScene/lightpresetdata.h \
    ShowLoader/ShowLoader_Test.h \
    ShowLoader/MockShowGuiInterface.h \
    ShowLoader/MockScriptEngine.h \
    ../Playlist/playlistAutomation/MockMediaPlugin.h \
    ../../src/show/showloader.h \
    ../../src/playlist/MediaListModel.h \
    ../../src/playlist/MediaSourceFactory.h \
    ../../src/lightScene/LightPresetModel.h \
    ../../src/script/IF_ScriptEngineInterface.h \
    ../../src/playlist/IF_MediaEngineInterface.h \
    ../../src/show/ApplicationSettings.h \
    ../../src/show/ShowWriter.h \
    ../../src/show/ShowFileFormatter.h \
    ../../src/show/HtmlOptimizer.h \
    ../../src/lightScene/LightPresetFactory.h \
    ../../src/show/ShowFileFactory.h \
    ../Playlist/MediaModel/MockMediaSourceFactory.h \
    ../Playlist/MediaModel/MockMediaSource.h \
    ShowManager/test_ShowManager.h \
    ../../src/show/ShowManager.h \
    ../../src/show/ShowFactory.h \
    ShowManager/ShowFactoryForTest.h \
    ShowManager/MockShowWriter.h \
    ShowFormatter/test_ShowFormatter.h \
    ../../src/sequence/SequenceModel.h \
    ../../src/sequence/sequenceitem.h
